<?php

namespace JLPay\Models\Clearing;

use JLPay\Models\BaseResponse;

/**
 * 结算资金查询响应
 */
class AccBalanceResponse extends BaseResponse
{
    protected ?string $balance = null;
    protected ?string $availableBalance = null;
    protected ?string $frozenAmount = null;
    protected ?string $status = null;

    /**
     * 获取余额
     *
     * @return string|null
     */
    public function getBalance(): ?string
    {
        return $this->balance;
    }

    /**
     * 获取可用余额
     *
     * @return string|null
     */
    public function getAvailableBalance(): ?string
    {
        return $this->availableBalance;
    }

    /**
     * 获取冻结金额
     *
     * @return string|null
     */
    public function getFrozenAmount(): ?string
    {
        return $this->frozenAmount;
    }

    /**
     * 获取状态
     *
     * @return string|null
     */
    public function getStatus(): ?string
    {
        return $this->status;
    }
} 